
<%
            if (request.getParameter("error") != null) {
                out.println("<div class=\"subcriber-red\">An error occured processing registration<br/><br/></div>");
            }

            if (request.getParameter("success") != null) {
                out.println("<div class=\"subcriber-green\">You have been registered successfully<br/><br/></div>");
            }
%>

<div class="page-title">Register</div>
<div id="contact">
    <form name="register" method="post" action="RegisterCustomer">
    <table border="0" width="100%">
        <tbody>
            <tr>
                <td>First Name:<br/><div class="required-text">Required</div></td>
                <td><input id="namebox" type="text" name="na" width="200px"/></td>
            </tr>
            <tr>
                <td>Surname:<br/><div class="required-text">Required</div></td>
                <td><input id="namebox" type="text" name="surna" width="200px"/></td>
            </tr>
            <tr>
                <td>Email Address:<br/><div class="required-text">Required</div></td>
                <td><input id="emailbox" type="text" name="email" width="200px"/></td>
            </tr>
            <tr>
                <td>Password:<br/><div class="required-text">Required - Min 8 char</div></td>
                <td><input id="emailbox" type="password" name="pass" width="200px"/></td>
            </tr>
            <tr>
                <td>Re-type password:<br/><div class="required-text">Required</div></td>
                <td><input id="emailbox" type="password" name="passConf" width="200px"/></td>
            </tr>
            <tr>
                <td></td>
                <td><input style="width: 120px;height: 30px;background: gray;" type="submit" value="Register" /></td>
            </tr>
        </tbody>
    </table>
</form></div>